<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type" class="form-control selectpicker" name="row[type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('First_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-first_num" data-rule="required" class="form-control" name="row[first_num]" type="number" value="1">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('First_num_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-first_num_price" data-rule="required" class="form-control" step="0.01" name="row[first_num_price]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Add_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-add_num" data-rule="required" class="form-control" name="row[add_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Add_num_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-add_num_price" data-rule="required" class="form-control" step="0.01" name="row[add_num_price]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('First_weight')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-first_weight" data-rule="required" class="form-control" step="0.01" name="row[first_weight]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('First_weight_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-first_weight_price" data-rule="required" class="form-control" step="0.01" name="row[first_weight_price]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Add_weight')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-add_weight" data-rule="required" class="form-control" step="0.01" name="row[add_weight]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Add_weight_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-add_weight_price" data-rule="required" class="form-control" step="0.01" name="row[add_weight_price]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Province_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-province_ids" data-rule="required" data-source="province/index" data-multiple="true" class="form-control selectpage" name="row[province_ids]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('City_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-city_ids" data-rule="required" data-source="city/index" data-multiple="true" class="form-control selectpage" name="row[city_ids]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Area_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-area_ids" data-rule="required" data-source="area/index" data-multiple="true" class="form-control selectpage" name="row[area_ids]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" class="form-control" name="row[weigh]" type="number">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
